package lanQiao;
class Main{static{System.out.print("153\n370\n371\n407");}}